package com.springboot.demo.service;


import com.cx.item.common.service.BaseService;
import com.springboot.demo.model.example.AreaExample;
import com.springboot.demo.model.model.Area;

import java.util.Map;

public interface AreaService extends BaseService<Area, AreaExample> {

    /**
     * 根据地址code获取三级地址值
     *
     * @param addressCode
     * @return map:key
     * zoneCode 县/区域地址
     * cityCode 市地址
     * provinceCode 省地址
     */
    Map<String, String> getAddressNameByCode(String addressCode);

}